/*
 * Copyright (c) 2006, 2021, webrx.cn All rights reserved.
 *
 */
package cn.webrx.db;

import static java.lang.Math.pow;
import static java.lang.Math.round;

/**
 * <p>Project: javaseapp - MyStatic
 * <p>Powered by webrx On 2021-08-05 16:07:49
 * <p>Created by IntelliJ IDEA
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 16
 */
public class MyStatic {
    static {
        System.out.println("static{静态程序段}");
    }

    public static int i;

    public static void main(String[] args) {
        i = 30;
        System.out.println(i);
        System.out.println(pf(9));
        System.out.println(Math.pow(2, 3));
        System.out.println(round(pow(2, 3)));
    }

    public static int pf(int i) {
        return i * i;
    }
}
